PGMB\Metabox\PostCreationMetabox S

Total Complexity 45
Dependencies 12
Dependents 1
Total lines 399
Lines of code 276
Logical lines of code 116
Comment lines 75
Methods 20
Properties 8

Methods 20

Method Rating Maintainability Complexity Lines of code
ajax_create_post()
A
43 11 47
sanitize_form_fields()
S
57 5 17
ajax_load_post()
S
52 4 25
ajax_load_autopost_template()
S
54 4 21
validate_form_fields()
S
61 3 11
enqueue_scripts()
S
46 1 40
__construct()
S
61 2 12
ajax_delete_post()
S
62 2 11
gmb_topic_types()
S
54 1 24
render_meta_box()
S
63 2 10
get_subscribed_hooks()
S
62 1 12
ajax_callbacks()
S
62 1 11
register_gutenberg_meta()
S
63 1 11
is_autopost_enabled()
S
82 1 3
admin_init()
S
77 1 4
get_post_editor()
S
82 1 3
get_id()
S
82 1 3
get_title()
S
79 1 3
get_screen()
S
82 1 3
wp_time_format()
S
72 1 5